// 本文件用来放一些例如上传、下载文件等需要增加字段的接口
import request from "../utils/request"

export default {
  get(baseurl, query = {}, headers = {}) {
    return request({
      url: baseurl,
      method: 'get',
      data: query
    })
  },
  post(baseurl, query = {}, headers = {}) {
    return request({
      url: baseurl,
      method: 'post',
      data: query
    })
  }
}